package com.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.Unitdoor;
import com.entity.Uploadfileto;
import com.entity.Visitors;
import com.entity.ango;
import com.entity.countuser;




public interface INSERTUserMapper {
	
	
	
	public void insertuser(@Param("yfilename")String yfilename,@Param("cardnumber")String cardnumber,@Param("idnumber")String idnumber,@Param("yaddress")String yaddress,@Param("yindex")String yindex,@Param("createtime")String createtime,@Param("examine")String examine,@Param("updatetime")String updatetime,@Param("registrationandtype")String registrationandtype,@Param("ydetailed")String ydetailed);
	
	public void insertuserandks(@Param("yfilename")String yfilename,@Param("cardnumber")String cardnumber,@Param("idnumber")String idnumber,@Param("yaddress")String yaddress,@Param("yindex")String yindex,@Param("createtime")String createtime,@Param("examine")String examine,@Param("updatetime")String updatetime,@Param("registrationandtype")String registrationandtype,@Param("cardnumberandrepeat")String cardnumberandrepeat,@Param("ydetailed")String ydetailed);

	
	public void insertuserandyname(@Param("yfilename")String yfilename,@Param("cardnumber")String cardnumber,@Param("idnumber")String idnumber,@Param("yaddress")String yaddress,@Param("yindex")String yindex,@Param("createtime")String createtime,@Param("examine")String examine,@Param("updatetime")String updatetime,@Param("registrationandtype")String registrationandtype,@Param("yname")String yname,@Param("ydetailed")String ydetailed);
	
	public void insertuserandrepeat(@Param("yfilename")String yfilename,@Param("cardnumber")String cardnumber,@Param("idnumber")String idnumber,@Param("yaddress")String yaddress,@Param("yindex")String yindex,@Param("createtime")String createtime,@Param("examine")String examine,@Param("updatetime")String updatetime,@Param("registrationandtype")String registrationandtype,@Param("cardnumberandrepeat")String cardnumberandrepeat,@Param("yname")String yname,@Param("ydetailed")String ydetailed);
	
	public void insertuserandsnapshotrecord(@Param("yfilename")String yfilename,@Param("cardnumber")String cardnumber,@Param("yaddress")String yaddress,@Param("createtime")String createtime,@Param("ydetailed")String ydetailed);

	public Uploadfileto selecuser(@Param("yfilename")String yfilename);
	
	public List<countuser> selectusercont(@Param("statretime")String statretime,@Param("enttime")String enttime);
	
	public List<Uploadfileto>selectuserone(@Param("cardnumber")String cardnumber,@Param("yaddress")String yaddress);
	
	public Uploadfileto selecuserid(@Param("yid")String yid);
	
	public Visitors selecvisitorsid(@Param("yid")String yid);
	
	public void insertuservisitors(@Param("yfilename")String yfilename,@Param("typeuser")String typeuser
			,@Param("name")String name,@Param("sex")String sex,@Param("yaddress")String yaddress,@Param("ydetailed")String ydetailed,@Param("yphone")String yphone
			,@Param("yid")String yid,@Param("timeuser")String timeuser
			);
	
	public List<ango> selectango(@Param("yfilename")String yfilename);
	
	
	public void updownango(@Param("yfilename")String yfilename,@Param("statemen")String statemen);
	
	public void updownangono(@Param("yfilename")String yfilename);
	
	public List<ango> selectangodrawandblank();
	
	public void Updateuserstateandto(@Param("statemen")String statemen,@Param("id")String id);
	
	public List<Unitdoor> selectPadfin(@Param("idnumberandto")String idnumberandto);
}
